package com.yh.serivice;


public interface AdminService {
    //创建学生账号
    void addStudent(String username,String password,String name) throws Exception;
    //删除学生账号
    void removeStudent(int sid) throws Exception;
    //修改学生密码
    void restStudnetPassword(int sid,String password) throws Exception;

    //创建老师账号
    void addTeacher(String username,String password,String tname,String tdesc) throws Exception;
    //删除老师账号
    void removeTeacher(int tid) throws Exception;
    //修改老师密码
    void restTeacherPassword(int tid,String password) throws Exception;

    //创建管理员账号
    void addadmin(String username,String password) throws Exception;
    //删除老师账号
    void removeadmin(int id) throws Exception;
    //修改老师密码
    void restadminPassword(int id,String password) throws Exception;
}
